<template>
    <van-search @click="topush()" disabled placeholder="请输入搜索关键词" />
</template>

<script setup>
import { ref } from 'vue';
import { useRoute, useRouter } from 'vue-router'
const router = useRouter()
const route = useRoute()
const topush=()=>{
    router.push({path:'/seacher',query:{name:''}})
}
</script>

<style lang="scss" scoped></style>